package com.jht.pj.sys.dao;

import com.jht.pj.sys.pojo.Admin;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface AdminDao {
    /*管理员登录*/
    @Select("select * from admin where username=#{username}")
    Admin adminlogin(String username);

    /*管理员找回密码*/
    @Select("select password from admin where name=#{name}")
    String adminfind(String name);
}
